package com.kitchen.ui.dialog.task
{
	import flash.display.BitmapData;
	import flash.display.Sprite;

	internal class CatalogTask extends Sprite
	{
		private var dialogSkin:BitmapData;
		
		public function CatalogTask(dialogSkin:BitmapData)
		{
			super();
			this.dialogSkin = dialogSkin;
			this.layout();
		}
		
		private function layout():void{
			var general:GeneralTaskButton = new GeneralTaskButton(this.dialogSkin);
			this.addChild(general);
			var active:ActiveTaskButton = new ActiveTaskButton(this.dialogSkin);
			active.y = 38;
			this.addChild(active);
			var vip:VipTaskButton = new VipTaskButton(this.dialogSkin);
			vip.y = 76;
			this.addChild(vip);
		}
	}
}